package com.apeli.system.service;

import com.apeli.common.core.domain.AjaxResult;
import com.apeli.system.domain.Article;
import com.apeli.system.domain.vo.ArticleVO;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 *
 */
public interface ArticleService extends IService<Article> {

    AjaxResult addArticle(ArticleVO articleV);

    List<ArticleVO> listArticle(Long userId);

    AjaxResult changeStatus(Long articleId,Integer status);

    ArticleVO queryArticleById(Long id);

    AjaxResult commentArticle(String content, Long id);
}
